package com.house.framework.mapper;


import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.house.framework.entity.User;
import com.house.framework.vo.UserVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.tomcat.util.bcel.Const;

@Mapper
public interface UserMapper extends BaseMapper<User> {

    User findByPhone(String username);

    User loadByLogininfoId(Long logininfoId);

    IPage<UserVo> page(IPage page, @Param(Constants.WRAPPER) Wrapper<UserVo> queryWrapper);
}
